home *** CD-ROM | disk | FTP | other *** search
- # File: tr_requirement_to_test_script.rsd
- # Purpose: Sample rule to create a test script in a Rational Test domain
- # project that corresponds to a test requirement in a Rational
- # RequisitePro domain project. This rule associates the test
- # script with the requirement when viewed in the Rational
- # TestManager.
-
- ###############################################################################
- begin rule "Create Test Script from Test requirement"
-
- description
- {
- For each test requirement in the RequisitePro domain that has the attribute
- AutoTest set to True, create a test script object in the Rational Test domain.
- }
-
- projects RequisitePro to TestStudio
- items "Test Requirement Type" to Script
- properties
- source.Text init target.Name
- source."Test Notes" to target."Description"
- source.Object init target.Requirement
- applies when AutoTest = "True"
-
- end rule
-